﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using BusinessLogic.Repository_Logic.Interfaces;

namespace TestSystem.Controllers.Candidate
{
    public class JobController : Controller
    {
        private IPositionRepositoryLogic _positionRepositoryLogic;

        public JobController(IPositionRepositoryLogic positionRepositoryLogic)
        {
            _positionRepositoryLogic = positionRepositoryLogic;
        }

        public ActionResult Index()
        {
            return View(_positionRepositoryLogic.GetPositionsToRecruitment());
        }

        public ActionResult ApplicationForm()
        {
            return View();
        }
    }
}
